package com.syx.migration.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.syx.migration.domain.base.TenantEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 读者类别对象 syx_reader_category
 *
 * @author Syx
 * @date 2024-03-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("syx_reader_category")
public class SyxReaderCategory extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 读者类别名称
     */
    private String name;

    /**
     * 图书和期刊规则是否一致（0是，1否）
     */
    private String isSame;

    /**
     * 馆藏室集合
     */
    private String roomIds;


}
